using System;
using System.Collections.Generic;
using System.Text;

namespace IGlobalist.Cms.Model
{
    public class RelationPageCategoryXML
    {
        public RelationPageCategoryXML()
        {
        }

        public RelationPageCategoryXML(long id, string name, string title, byte type, IList<long> categories)
        {
            _Id = id;
            _Name = name;
            _Title = title;
            _Type = type;
            _Categories = categories;
        }

       

        protected long _Id = 0;
        public long Id
        {
            get
            { return _Id; }
            set { _Id = value; }
        }

        protected string _Name;
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = value;
            }
        }

        protected string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set { _Title = value; }
        }

        protected byte _Type;
        public byte Type
        {
            get
            {
                return _Type;
            }
            set { _Type = value; }
        }


        protected IList<long> _Categories;
        public IList<long> Categories
        {
            get
            {
                return _Categories;
            }
            set { _Categories = value; }
        }
    }
}
